#ifndef __snow__
#define __snow__

#include "particle.h"
#include "texture.h"
#include "bitmap.h"


const Vector3f SNOWFLAKE_VELOCITY  (0.0f, -3.0f, 0.0f);
const Vector3f VELOCITY_VARIATION  (0.2f, 0.5f, 0.2f);
const float     SNOWFLAKE_SIZE      = 0.02f;
const float     SNOWFLAKES_PER_SEC  = 2000;



class CSnowstorm : public CParticleSystem
{
public:
  CSnowstorm(int maxParticles, Vector3f origin, float height, float width, float depth);

  void  Update(float elapsedTime);
  void  Render();

  void  InitializeSystem();
  void  KillSystem();

protected:
  void    InitializeParticle(int index);
  float   m_height;
  float   m_width;
  float   m_depth;

  GLuint  m_texture;
};

#endif
